@media print {



    @page {

        size: 210mm 150mm;
        margin: 1cm;

    }

    body {
        display: block;
        margin: 0px;
        min-height: 100vh;
    }


    /* 隐藏头部和尾部 */
    header,
    footer {
        display: none !important;
    }


    table {
        width: 100%;
        border-collapse: collapse !important;
    }

    th,td {
        border: 1px solid black !important;
        font-size: 15px;
    }



    td{
        font-size: 9px;
    }

    h1{
        text-align: center;
    }

    

}